package com.example.travelservlet.userLabel.repository;

import com.example.travelservlet.entity.UserLabel;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

/**
 * @author 30697
 */
public interface UserLabelRepository extends JpaRepository<UserLabel, String>, JpaSpecificationExecutor {
    List<UserLabel> findAllByUserId(String userId);

}
